package com.mobanker.marketing.manager.service.impl;

import java.lang.reflect.InvocationTargetException;
import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.alibaba.fastjson.JSONObject;
import com.mobanker.framework.crud.bussiness.impls.BaseBussinessImpl;
import com.mobanker.framework.crud.mybatis.bean.Sort;
import com.mobanker.framework.crud.mybatis.complex.CustomQueryParam;
import com.mobanker.framework.exception.DataCommitException;
import com.mobanker.marketing.manager.entity.Plan;
import com.mobanker.marketing.manager.mapper.PlanMapper;
import com.mobanker.marketing.manager.service.IPlanService;

@Service
@Transactional
public class PlanService extends BaseBussinessImpl<Plan> implements
		IPlanService {

	@Autowired
	private PlanMapper planMapper;

	public int count(Plan arg0) {
		// TODO Auto-generated method stub
		return 0;
	}

	public int countForExport(JSONObject arg0)
			throws InvocationTargetException, IllegalAccessException,
			NoSuchMethodException {
		// TODO Auto-generated method stub
		return 0;
	}

	public int countLike(Plan arg0) {
		// TODO Auto-generated method stub
		return 0;
	}

	public int countQuery(List<CustomQueryParam> arg0) {
		// TODO Auto-generated method stub
		return 0;
	}

	public void delete(Plan arg0) throws DataCommitException {
		Plan plan = planMapper.getOne(arg0);
		planMapper.deleteByPrimaryKey(plan);
	}

	public void delete(List<Plan> arg0) throws DataCommitException {
		// TODO Auto-generated method stub

	}

	public void deleteAll() throws DataCommitException {
		// TODO Auto-generated method stub

	}

	public void deleteById(Long arg0) throws DataCommitException {
		// TODO Auto-generated method stub

	}

	public void deleteById(List<Long> arg0) throws DataCommitException {
		// TODO Auto-generated method stub

	}

	public List<Plan> find(Plan arg0, Integer arg1, Integer arg2) {
		// TODO Auto-generated method stub
		return null;
	}

	public List<Plan> findByObj(Plan arg0) {
		return planMapper.find(arg0);
	}

	public List<Plan> findForExport(JSONObject arg0)
			throws InvocationTargetException, IllegalAccessException,
			NoSuchMethodException {
		// TODO Auto-generated method stub
		return null;
	}

	public List<Plan> getAll() {
		// TODO Auto-generated method stub
		return null;
	}

	public Plan getById(Long arg0) {
		// TODO Auto-generated method stub
		return null;
	}

	public List<Plan> getByObj(Plan arg0) {
		// TODO Auto-generated method stub
		return null;
	}

	public void insert(Plan arg0) throws DataCommitException {
		planMapper.insert(arg0);

	}

	public void insert(List<Plan> arg0) throws DataCommitException {
		// TODO Auto-generated method stub

	}

	public void insertBatch(List<Plan> arg0) throws DataCommitException {
		// TODO Auto-generated method stub

	}

	public List<Plan> query(List<CustomQueryParam> arg0) {
		// TODO Auto-generated method stub
		return null;
	}

	public List<Plan> query(List<CustomQueryParam> arg0, Integer arg1,
			Integer arg2, List<Sort> arg3) {
		// TODO Auto-generated method stub
		return null;
	}

	public void update(Plan arg0) throws DataCommitException {
		// TODO Auto-generated method stub

	}

	public void update(List<Plan> arg0) throws DataCommitException {
		// TODO Auto-generated method stub

	}

}
